1: | app(app(*,x),app(app(+,y),z)) | → app(app(+,app(app(*,x),y)),app(app(*,x),z)) | |
2: | APP(app(*,x),app(app(+,y),z)) | → APP(app(+,app(app(*,x),y)),app(app(*,x),z)) | |
3: | APP(app(*,x),app(app(+,y),z)) | → APP(+,app(app(*,x),y)) | |
4: | APP(app(*,x),app(app(+,y),z)) | → APP(app(*,x),y) | |
5: | APP(app(*,x),app(app(+,y),z)) | → APP(app(*,x),z) | |